package com.ingrun.tuboshu.service;

import com.ingrun.tuboshu.entity.SysAdmin;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ingrun.tuboshu.entity.vo.PasswordLoginQ;
import com.ingrun.tuboshu.entity.vo.UserListQ;
import com.ingrun.tuboshu.entity.vo.UpdPasswordQ;
import com.ingrun.tuboshu.utils.params.PageHelperList;

/**
 * <p>
 * 系统管理用户表	 服务类
 * </p>
 *
 * @author ingrun
 * @since 2025-01-23
 */
public interface ISysAdminService extends IService<SysAdmin> {

    boolean register(SysAdmin sysAdmin);

    String login(PasswordLoginQ query);

    SysAdmin selectUserByUserName(String username);

    boolean updatePassword(UpdPasswordQ query);

    SysAdmin getLonginUser();

    PageHelperList<SysAdmin> userList(UserListQ query);
}
